
import { defineStore } from 'pinia'
 
export const useMainStore = defineStore('main', {
  state: () => {
    return { 
		counter: 0 ,
		name:'小苦瓜',
		sex:'男'
	}
  },
  actions: {
    increment() {
      this.counter++
    },
	reduction() {
		this.counter--
	}
  }
})